<template>
  <div>
    <button>
      <router-link to="/chat/list"> 问诊 </router-link>
    </button>
    <button>答疑</button>

    <div>
      用户信息
      <dl>
        <dt>
          <img :src="userInfo.imagePic" alt="" />
        </dt>
        <dd>
          <div>{{ userInfo.name }}</div>
          <div>{{ userInfo.inauguralHospital }}</div>
          <div>{{ userInfo.jobTitle }}</div>
          <div>{{ userInfo.departmentName }}</div>
        </dd>
      </dl>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { useUserHooks } from '@/stores/user'

const userInfo = useUserHooks().userInfo
</script>
